package com.zbec.mdrs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zbec.mdrs.entity.RecordEntity;

import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by fxl on 2015/10/17.
 */
public class EntrustedLoanVo extends RecordEntityVo implements Serializable {

    private String sjsj;//数据年月
    private String jrjgbm;//金融机构编码
    private String wtrzzjgdm;//委托人组织机构代码
    private String jkrzzjgdm;//借款人组织结构代码
    private String bz;//币种
    private BigDecimal ll;//利率
    private BigDecimal ywfse;//业务发生额
    private BigDecimal ywye;//业务余额
    private Date dkffrq;//贷款发放日期
    private Date dkdqrq;//贷款到期日期
    private String jjh;
    private String qymc;

    private String bzDesc;//币种

    public EntrustedLoanVo() {
    }

    public EntrustedLoanVo(Long id,String sjsj, String jrjgbm, String wtrzzjgdm, String jkrzzjgdm, String bz,
                           BigDecimal ll, BigDecimal ywfse, BigDecimal ywye, Date dkffrq, Date dkdqrq,String jjh,String qymc,
                           String source, String recordStatus, String reportStatus,
                           String existError, String errorDesc, String missedField,Long recordId) {

        this.id = id;
        this.sjsj = sjsj;
        this.jrjgbm = jrjgbm;
        this.wtrzzjgdm = wtrzzjgdm;
        this.jkrzzjgdm = jkrzzjgdm;
        this.bz = bz;
        this.ll = ll;
        this.ywfse = ywfse;
        this.ywye = ywye;
        this.dkffrq = dkffrq;
        this.dkdqrq = dkdqrq;
        this.jjh=jjh;
        this.qymc=qymc;
        this.source = source;
        this.recordStatus = recordStatus;
        this.reportStatus = reportStatus;
        this.existError = existError;
        this.errorDesc = errorDesc;
        this.missedField = missedField;
        this.recordId = recordId;
    }

    public String getSjsj() {
        return sjsj;
    }

    public void setSjsj(String sjsj) {
        this.sjsj = sjsj;
    }

    public String getJrjgbm() {
        return jrjgbm;
    }

    public void setJrjgbm(String jrjgbm) {
        this.jrjgbm = jrjgbm;
    }

    public String getWtrzzjgdm() {
        return wtrzzjgdm;
    }

    public void setWtrzzjgdm(String wtrzzjgdm) {
        this.wtrzzjgdm = wtrzzjgdm;
    }

    public String getJkrzzjgdm() {
        return jkrzzjgdm;
    }

    public void setJkrzzjgdm(String jkrzzjgdm) {
        this.jkrzzjgdm = jkrzzjgdm;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public BigDecimal getLl() {
        return ll;
    }

    public void setLl(BigDecimal ll) {
        this.ll = ll;
    }

    public BigDecimal getYwfse() {
        return ywfse;
    }

    public void setYwfse(BigDecimal ywfse) {
        this.ywfse = ywfse;
    }

    public BigDecimal getYwye() {
        return ywye;
    }

    public void setYwye(BigDecimal ywye) {
        this.ywye = ywye;
    }

    public Date getDkffrq() {
        return dkffrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setDkffrq(Date dkffrq) {
        this.dkffrq = dkffrq;
    }

    public Date getDkdqrq() {
        return dkdqrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setDkdqrq(Date dkdqrq) {
        this.dkdqrq = dkdqrq;
    }

    public String getBzDesc() {
        return bzDesc;
    }

    public void setBzDesc(String bzDesc) {
        this.bzDesc = bzDesc;
    }

    public String getJjh() {
        return jjh;
    }

    public void setJjh(String jjh) {
        this.jjh = jjh;
    }

    public String getQymc() {
        return qymc;
    }

    public void setQymc(String qymc) {
        this.qymc = qymc;
    }
}
